<div class="leftMain">
    <div class="titleCHAT"> Thống kê loto tới chu kỳ so với kỳ gần nhất </div>
    <div class="SM">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr class="bg_cam">
                <td class="SM_1"><p>Bộ Số</p></td>
                <td class="SM_1"><p>Độ dài chu kỳ</p></td>
                <td class="SM_1"><p>Đầu chu kỳ</p></td>
                <td class="SM_1"><p>Kết chu kỳ</p></td>
            </tr>
        </table>
        <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#e6e6e6">
            
            <?php for($i=0;$i<count($data);$i++){?>
            <tr class="bg_white">
                <td class="SM_1">
                    <?php echo $data[$i]['boso'];?>
                </td>
                <td class="SM_1">
                    <?php echo $data[$i]['dodai_chuky'];?>
                </td>
                <td class="SM_1">
                    <?php echo $data[$i]['start_date'];?>
                </td>
                <td class="SM_1">
                    <?php echo $data[$i]['end_date'];?>
                </td>
            </tr>
            <?php }?>
            
        </table>
    </div>
</div>


<div class="rightMain">
    <div class="Box">
        <div class="Title">
            Tiện ích    
        </div>
        <div class="Services">
            <ul>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-SM.png" class="img_menu"/><br /> Sổ mơ </a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-QT.png" class="img_menu"/><br /> Quay số </a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-TK.png" class="img_menu"/><br /> Thống kê<br />VIP</a>
                </li>
            </ul>
        </div>
        <div class="Services">
            <ul>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-LMT.png" class="img_menu"/><br /> Lịch mở<br />thưởng </a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-CKQ.png" class="img_menu"/><br /> Chèn<br />KQXS </a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-SMS.png" class="img_menu"/><br /> SMS </a>
                </li>
            </ul>
        </div>
        <div class="Services">
            <ul>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-GAME.png" class="img_menu"/><br /> Store<br />Games </a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-TV.png" class="img_menu"/><br /> Tử Vi </a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-BD.png" class="img_menu"/><br /> Bóng đá </a>
                </li>
            </ul>
        </div>
    </div>
    <div class="Box">
        <div class="Title">
            Kết quả xổ số hôm nay
        </div>
        <div class="KQXSToday">
            <ul>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Hải Phòng</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Điện toán 123</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Điện toán 6x36</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Thần tài</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List2.gif" class="img_KQXSToday" />Xem dự đoán các tỉnh <strong class="red">miền Bắc</strong></a>
                </li>
            </ul>    
        </div>
        <div class="line"></div>
        <div class="KQXSToday">
            <ul>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Bình Dương</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Trà Vinh</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Vĩnh Long</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List2.gif" class="img_KQXSToday" />Xem dự đoán các tỉnh <strong class="red">miền Nam</strong></a>
                </li>
            </ul>    
        </div>
        <div class="line"></div>
        <div class="KQXSToday">
            <ul>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Gia Lai</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List.gif" class="img_KQXSToday" />Ninh Thuận</a>
                </li>
                <li>
                    <a href="#"><img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_List2.gif" class="img_KQXSToday" />Xem dự đoán các tỉnh <strong class="red">miền Trung</strong></a>
                </li>
            </ul>    
        </div>
    </div>
    <div class="Box">
        <div class="TitleLotogame">
            Loto Game
        </div>
        <div class="menuLotogame">
            <ul>
                <li class="menuLotogame_activer">Chơi game</li>
                <li><a href="#">10 bộ số hot</a></li>
            </ul>
        </div>
        <div class="userLotogame">
            <div class="avataLotogame">
                <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-avart-2.jpg" width="44" height="44" />
            </div>
            <div class="textLotogame">
                <div class="iconCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-arrows3.png" width="7" height="14" />
                </div>
                <div class="box_textCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_Tranglo.gif"  class="img_textCHAT" /> 
                    <p>04, 05, 03, 64</p>
                    <span class="time_textCHAT">
                        12h30 hôm nay
                    </span>
                </div>
                <div class="both"></div>
            </div>
            <div class="both"></div>
        </div>
        <div class="userLotogame">
            <div class="avataLotogame">
                <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-avart-2.jpg" width="44" height="44" />
            </div>
            <div class="textLotogame">
                <div class="iconCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-arrows3.png" width="7" height="14" />
                </div>
                <div class="box_textCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_Tranglo.gif"  class="img_textCHAT" /> 
                    <p>04, 05, 03, 64</p>
                    <span class="time_textCHAT">
                        12h30 hôm nay
                    </span>
                </div>
                <div class="both"></div>
            </div>
            <div class="both"></div>
        </div>
        <div class="userLotogame">
            <div class="avataLotogame">
                <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-avart-2.jpg" width="44" height="44" />
            </div>
            <div class="textLotogame">
                <div class="iconCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-arrows3.png" width="7" height="14" />
                </div>
                <div class="box_textCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_Tranglo.gif"  class="img_textCHAT" /> 
                    <p>04, 05, 03, 64</p>
                    <span class="time_textCHAT">
                        12h30 hôm nay
                    </span>
                </div>
                <div class="both"></div>
            </div>
            <div class="both"></div>
        </div>
        <div class="userLotogame">
            <div class="avataLotogame">
                <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-avart-2.jpg" width="44" height="44" />
            </div>
            <div class="textLotogame">
                <div class="iconCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-arrows3.png" width="7" height="14" />
                </div>
                <div class="box_textCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_Tranglo.gif"  class="img_textCHAT" /> 
                    <p>04, 05, 03, 64</p>
                    <span class="time_textCHAT">
                        12h30 hôm nay
                    </span>
                </div>
                <div class="both"></div>
            </div>
            <div class="both"></div>
        </div>
        <div class="userLotogame">
            <div class="avataLotogame">
                <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-avart-2.jpg" width="44" height="44" />
            </div>
            <div class="textLotogame">
                <div class="iconCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-arrows3.png" width="7" height="14" />
                </div>
                <div class="box_textCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_Tranglo.gif"  class="img_textCHAT" /> 
                    <p>04, 05, 03, 64</p>
                    <span class="time_textCHAT">
                        12h30 hôm nay
                    </span>
                </div>
                <div class="both"></div>
            </div>
            <div class="both"></div>
        </div>
        <div class="userLotogame">
            <div class="avataLotogame">
                <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-avart-2.jpg" width="44" height="44" />
            </div>
            <div class="textLotogame">
                <div class="iconCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon-arrows3.png" width="7" height="14" />
                </div>
                <div class="box_textCHAT">
                    <img src="<?php echo Yii::app()->params['static_url'];?>images/xo-so-10h-icon_Tranglo.gif"  class="img_textCHAT" /> 
                    <p>04, 05, 03, 64</p>
                    <span class="time_textCHAT">
                        12h30 hôm nay
                    </span>
                </div>
                <div class="both"></div>
            </div>
            <div class="both"></div>
        </div>
    </div>
        </div> <!--right-->
        <div class="both"></div>